<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行内元素和行内块元素</title>
    <style>
        b{
            /* display:inline; */
            width: 100px;
            height:100px;
            background: yellow;
        }
        /* 行内元素display:inline */
        img{
            width: 100px;
            height: 100px;
        }
        /* 
        行内块元素display: inline-block;
        */
        input{
            width: 100px;
            height: 100px;
        }
    </style>
</head>
<body>
    <b>1111</b>
    <em>2222</em>
    <span>3333</span>
    <strong>4444</strong>
    <a href="http://www.baidu.com">5555</a>
    
    <img src="img1/2.png" alt="">
    <input type="text">
</body>
</html>